package com.example.common.converter;

import com.example.common.data.msg.BuiltinJt808MsgType;
import com.example.common.data.msg.MsgType;

import java.util.Optional;

public class BuiltinMsgTypeParser implements MsgTypeParser {
    @Override
    public Optional<MsgType> parseMsgType(int msgType) {
        return BuiltinJt808MsgType.CLIENT_AUTH.parseFromInt(msgType);
    }
}
